#pragma once
#include <gdiplus.h>

class Cgdiplustest2Doc : public CDocument
{
protected:
    Cgdiplustest2Doc();
    DECLARE_DYNCREATE(Cgdiplustest2Doc)

public:
    BOOL OnNewDocument();
    virtual void Serialize(CArchive& ar);
    virtual ~Cgdiplustest2Doc();

#ifdef _DEBUG
    virtual void AssertValid() const;
    virtual void Dump(CDumpContext& dc) const;
#endif

    Gdiplus::Image *ImageGet(void) { return myImage; }

private:
    Gdiplus::Image* myImage;

protected:
    DECLARE_MESSAGE_MAP()
public:
    afx_msg void OnFileOpen();
    afx_msg void OnFileOpenfolder();
};
